<%@ taglib prefix="s" uri="/struts-tags"%>
<div id="wrapper-menu">
<div id="menu">
<ul>
	<s:if test="#session.user != null && #session.user != ''">
		<li><a title="Tasks" href="TasksShow.action">Tasks</a></li>
		<li><a title="Groups" href="GroupsShow.action">Groups</a></li>
		<li><a title="Profile" href="ProfileShow.action">Profile</a></li>
		<li><a title="Logout" href="Logout.action">Logout</a></li>
	</s:if>
	<s:else>
		<li><a title="Create new user" href="RegisterForm.action">Register</a></li>
		<li><a title="Log in into system" href="LoginForm.action">Login</a></li>
	</s:else>
</ul>
</div>
</div>